import request from './';
import config from 'config';
const masterKey = config.api.masterKey;

export function getSchemas(className) {
  const path = '/schemas' + (className ? '/' + className : '');
  return request.get(path, { masterKey });
}
